import {combineReducers, createStore} from 'redux';
// import thunk from 'redux-thunk';
import mainReducer from './Reducer';
//
// const reducers = combineReducers({
//   main: mainReducer,
//   map: mapReducer,
// });

// createStore 第二个参数：设置state的初始状态
const store = createStore(mainReducer, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__());


export default store;
